onEvent('recipes', event => {
    event.recipes.createMechanicalCrafting('2x create:crushing_wheel', [
        ' AAA   ',
        'AABAA  ',
        'ABCBADE',
        'AABAA  ',
        ' AAA   ',
    ], {
        A: 'emendatusenigmatica:cast_iron_plate',
        B: 'pneumaticcraft:drill_bit_iron',
        C: 'create:clockwork_bearing',
        D: '#forge:gears/emerald',
        E: 'create:gearbox'
    });
    event.recipes.createMechanicalCrafting('nr2_bd:mobsslaughtering_machine', [
        'AADAA',
        'ADFDA',
        'DCBCD',
        'ADEDA',
        'AADAA',
    ], {
        A: 'kubejs:stagemachinery_1',
        B: 'rftoolsbase:machine_frame',
        C: 'pneumaticcraft:compressed_iron_gear',
        D: 'quark:framed_glass',
        E: 'pneumaticcraft:spawner_extractor',
        F: 'pneumaticcraft:spawner_agitator'
    });

    event.recipes.createMechanicalCrafting('nr2_bd:materialdecomposition_machine', [
        'AADAA',
        'ADCDA',
        'DCBCD',
        'ADCDA',
        'AADAA',
    ], {
        A: 'kubejs:stagemachinery_1',
        B: 'rftoolsbase:machine_frame',
        C: 'pneumaticcraft:compressed_iron_gear',
        D: 'quark:framed_glass'
    });


    event.recipes.createMechanicalCrafting('pneumaticcraft:advanced_air_compressor', [
        'AADAA',
        'ADFDA',
        'DCBCD',
        'ADEDA',
        'AADAA',
    ], {
        A: 'kubejs:stagemachinery_1',
        B: 'create:flywheel',
        C: 'minecraft:furnace',
        D: 'quark:framed_glass',
        E: 'compressedcreativity:rotational_compressor',
        F: 'pneumaticcraft:advanced_pressure_tube'
    });

    event.recipes.createMechanicalCrafting('pneumaticcraft:advanced_liquid_compressor', [
        'AADAA',
        'ADFDA',
        'DCBCD',
        'ADEDA',
        'AADAA',
    ], {
        A: 'kubejs:stagemachinery_1',
        B: 'create:flywheel',
        C: 'pneumaticcraft:large_tank',
        D: 'quark:framed_glass',
        E: 'compressedcreativity:rotational_compressor',
        F: 'pneumaticcraft:advanced_pressure_tube'
    });


    event.recipes.createMechanicalCrafting('nr2_bd:aby_machine', [
        'AADAA',
        'ADCDA',
        'DCBCD',
        'ADCDA',
        'AADAA',
    ], {
        A: 'kubejs:stagemachinery_2',
        B: 'rftoolsbase:machine_frame',
        C: 'emendatusenigmatica:aluminum_gear',
        D: 'pneumaticcraft:pressure_chamber_glass'
    });

    event.recipes.createMechanicalCrafting('nr2_bd:stagemachinery_3', [
        'AADAA',
        'ADCDA',
        'DCBCD',
        'ADCDA',
        'AADAA',
    ], {
        A: 'kubejs:stagemachinery_3',
        B: 'nr2_bd:aby_machine',
        C: 'emendatusenigmatica:aluminum_gear',
        D: 'pneumaticcraft:pressure_chamber_glass'
    });









    //event.recipes.createSequencedAssembly(输出物品组(数组)[], 输入物品, 序列合成步骤(数组)[]).transitionalItem(半成品注册名).loops(循环次数(整形))

    event.recipes.createSequencedAssembly(
        ['create:precision_mechanism'], //输出
        'pneumaticcraft:printed_circuit_board', //输入
        [
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'emendatusenigmatica:cast_iron_plate']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'emendatusenigmatica:emerald_plate']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'emendatusenigmatica:bronze_plate']),

        ]).transitionalItem('pneumaticcraft:printed_circuit_board').loops(2);





    event.recipes.createSequencedAssembly(
        ['3x immersiveengineering:cokebrick'],
        'thermal:machine_frame',
        [
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'minecraft:gray_concrete']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'emendatusenigmatica:aluminum_gear']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'immersiveengineering:component_iron']),
        ]).transitionalItem('thermal:machine_frame').loops(4);

    event.recipes.createSequencedAssembly(
        ['3x immersiveengineering:blastbrick'],
        'immersiveengineering:cokebrick',
        [
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'quark:blaze_lantern']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'emendatusenigmatica:electrum_gear']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'immersiveengineering:coke']),
        ]).transitionalItem('immersiveengineering:cokebrick').loops(4);

    event.recipes.createSequencedAssembly(
        ['refinedstorage:controller'],
        'thermal:energy_cell',
        [
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'refinedstorage:improved_processor']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'refinedstorage:basic_processor']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'refinedstorage:advanced_processor']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'emendatusenigmatica:steel_gear']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'create:precision_mechanism']),

        ]).transitionalItem('thermal:energy_cell').loops(10);

    event.recipes.createSequencedAssembly(
        ['pneumaticcraft:creative_compressed_iron_block'],
        'pneumaticcraft:compressed_iron_block',
        [
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'minecraft:ice']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'minecraft:magma_block']),

        ]).transitionalItem('pneumaticcraft:compressed_iron_block').loops(256);


    event.recipes.createSequencedAssembly(
        ['create:creative_motor'],
        'mekanism:cardboard_box',
        [
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'create:flywheel']),
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'emendatusenigmatica:aluminum_plate']),
        ]).transitionalItem('mekanism:cardboard_box').loops(256);


    event.recipes.createSequencedAssembly(
        ['create:creative_blaze_cake'],
        'mekanism:substrate',
        [
            event.recipes.createDeploying(
                'create:incomplete_large_cogwheel',
                ['create:incomplete_large_cogwheel', 'create:blaze_cake']),

        ]).transitionalItem('mekanism:substrate').loops(256);

});


/*
{
            output: '3x immersiveengineering:cokebrick',
            pattern: ['ACA' ,'DBD' ,'ACA' ],
            key: {
                A : 'minecraft:gray_concrete',
                C : 'emendatusenigmatica:aluminum_gear',
                D : 'immersiveengineering:component_iron',
                B : 'thermal:machine_frame'
            },
            id: `${id}cokebrick`
        },
        {
            output: '3x immersiveengineering:blastbrick',
            pattern: ['ACA' ,'DBD' ,'ACA' ],
            key: {
                A : 'quark:blaze_lantern',
                C : 'emendatusenigmatica:electrum_gear',
                D : 'emendatusenigmatica:lead_plate',
                B : 'immersiveengineering:cokebrick'
            },
            id: `${id}blastbrick`
        },
*/